{% load staticfiles %}<aside class="main-sidebar">
    <!-- sidebar: style can be found in sidebar.less -->
    <section class="sidebar">
      <!-- Sidebar user panel -->
      <!-- sidebar menu: : style can be found in sidebar.less -->
      <ul class="sidebar-menu">
        <li class="header">管理菜单</li>
        <li>
          <a href="{% url 'main:main_index' %}">
            <i class="fa fa-home"></i> <span>首页</span>
          </a>
        </li>
        <li class="treeview">
            <a href="javascript:void(0)">
                <i class="ion ion-person" style="font-size: 20px;"></i> <span>顾客管理</span>
                <span class="pull-right-container">
            <i class="fa fa-angle-left pull-right"></i>
          </span>
            </a>
            <ul class="treeview-menu">{% url 'customers:add_customer' as add_customer %}
              <li><a href="{{ add_customer }}"><i class="fa fa-user-plus"></i> 新增顾客</a></li>
              <li><a href="{% url 'customers:list_customer' %}"><i class="fa fa-list"></i> 顾客列表</a> </li>
            </ul>
        </li>
        <li {% if request.path|slice:'8' == '/setting' %}class="active" {% else %}class="treeview"{% endif %}>
          <a href="javascript:void(0)">
            <i class="fa fa-wrench"></i> <span>系统设置</span>
            <span class="pull-right-container">
              <i class="fa fa-angle-left pull-right"></i>
            </span>
          </a>
          <ul class="treeview-menu">{% url 'setting:base_setting' as base_setting %}
            <li {% if request.path == base_setting  %}class="active" {% endif %}><a href="{{ base_setting }}"><i class="fa fa-cog"></i> 基础设置</a> </li>
          </ul>
            <ul class="treeview-menu">{% url 'setting:dpt_setting' as dpt_setting %}
                <li {% if request.path == dpt_setting  %}class="active" {% endif %}><a href="{{ dpt_setting }}"><i class="fa fa-cog"></i> 部门设置</a> </li>
            </ul>
          <ul class="treeview-menu">
            <li><a href="{% url 'setting:unit_setting' %}"><i class="fa fa-gear"></i> 店名信息</a> </li>
          </ul>
        </li>


      </ul>
    </section>
    <!-- /.sidebar -->
  </aside>
<!--侧边栏结束-->